import AppLayout from "@/layouts/app.layout";
import OperationPage from "@/pages/operation-page/OperationPage";
import RolePage from "@/pages/role-page/RolePage";
import AnalyzePage from "@/pages/analyze-page/AnalyzePage";
import PetAnalyzePage from "@/pages/pet-analyze-page/PetAnalyzePage";
import SchedulePage from "@/pages/schedule/SchedulePage";
import DebugPage from "@/pages/debug/DebugPage";

import {
  createBrowserRouter,
  RouterProvider,
} from "react-router-dom";



const routerConfig = createBrowserRouter([
  {
    path: "/",
    element: <AppLayout />,
    children: [
      {
        path: "operation",
        element: <OperationPage />,
      },
      {
        path: "role",
        element: <RolePage />,
      },
      {
        path: "analyze",
        element: <AnalyzePage />,
      },
      {
        path: "pet-analyze",
        element: <PetAnalyzePage />,
      },
      {
        path: "schedule",
        element: <SchedulePage />,
      },
      {
        path: "debug",
        element: <DebugPage />,
      },
    ],
  },
]);

export default routerConfig